From harbor-test.1.cc/base/nginx:latest
MAINTAINER ruoyi

VOLUME /home/ruoyi/projects/ruoyi-ui
RUN mkdir -p /home/ruoyi/porjects/ruiyi-ui
WORKDIR /home/ruoyi/projects/ruoyi-ui
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
#将dist目录内容复制到nginx容器html内部

COPY ./dist /home/ruoyi/projects/ruoyi-ui
EXPOSE 80